function order_detail(order_id){
				$(".order_detail_list .before_list").siblings().remove();
			         	$.ajax({
					url:"/ajax/call/vender_admin/order_detail",
					data:{
						"order_id":order_id
					},
					type:'post',
					success:function(data){
						if(data.errno){
							alert(data.errmsg);
						}else{
							$(".order_detail").fadeIn();
							var order_info = data.order_info;
							var verify_info = data.order_verify_info;
							var goods_desc = data.goods_desc ;
							$(".orders_title").text(order_info.goods_name);
							$(".orders_num span").text(order_info.goods_number);
							$(".orders_sn span").text(order_info.order_sn);
							$(".orders_peyFee span").text(order_info.pay_fee);
							$(".orders_phoneNum span").text(order_info.mobile);
							$(".orders_coupons span").text(order_info.money_coupon);
							$(".orders_addTime span").text(order_info.add_time);
							$(".orders_totalFee span").text(order_info.total_fee);
//							$(".orders_goodsDesc").html(goods_desc.html_desc);

							$.each(verify_info, function(index,res){
															
						       var trs = "";   
									trs += "<li class=''><span class='orders_verifySn'>"+res.verify_sn+"</span><span class='orders_verifyStatus'></span></li>";
						             //tbody += trs;         
						             $(".order_detail_list").append(trs);  
						       if(verify_info.verify_status==1){
									$(".orders_verifyStatus").text("已使用");
								}else{
									$(".orders_verifyStatus").addClass("no_used").text("未使用");
								}
						           
								});  
								i+=count;
								new IScroll('#padding_contn');
						}
					}
				});

			         }
			var i = 0;
			var count = 20;
			function upPullrefresh(){
			
				$.ajax({
					url:"/ajax/call/vender_admin/order_list",
					data:{
						"start": i,
						"count":count
					},
					type:'post',
					success:function(data){
						if(data.errno){
							alert(data.errmsg);
							
						}else{
							var obj = data.order_list ;
							if(obj.length > 0){
								$.each(obj, function(index,res){
						       		var trs = "";  
						            trs += "<div class='data_items' order_id="+res.order_id+" ><a href='javascript:void(0);' class='order_list_btn'><div class='order_list order_title'><div class='c_l'>" +res.goods_name+"</div><span class='c_r'>x" + res.goods_number +"</span></div><div class='order_list order_content'><div class='data_item'><div class='c_l'>订单号:"+res.order_sn+"</div><span class='c_r'>支付:"+res.pay_fee+"</span></div><div class='data_item'><div class='c_l'>电话:"+res.mobile+"</div><span class='c_r'>红包:"+res.money_coupon+"</span></div></div><div class='order_list order_bottom'><div class='c_l'>"+res.add_time+"</div><span class='c_r'>总金额:"+res.total_fee+"元</span></div></a></div>";
						            //tbody += trs;         
						            $("#add").append(trs);  
						         });
							}else{
								$("#add").append('<div style="line-height:30px;text-align:center;">暂无数据</div>');
							}
							
						        
						         i+=count;
						}
					}
				});
								$(".data_items").click(function(){
									var order_id = $(this).attr("order_id");
									order_detail(order_id);
								});
								$("#goback").click(function(){
									$(".order_detail").fadeOut();
								});
								$("#index").click(function(){
								    window.location.href="../../index.html";
								    })
								$("#account").click(function(){
								    window.location.href="../account.html";
								    })
							    $("#shareCard").click(function(){
							    		window.location.href="sharecard.html";
							    })
			}